package strategyPattern;

//上下文信息
public class Context {

    private Strategy strategy;

    public Context(Strategy strategy) {
        this.strategy = strategy;
    }

    public void encrypt(){
        strategy.encrypt();
    }



}
